package com.xhtt.modules.task.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xhtt.common.utils.PageUtils;
import com.xhtt.modules.sys.entity.SysUserEntity;
import com.xhtt.modules.task.entity.TaskServicePlan;
import com.xhtt.modules.task.model.service.ArrangeModel;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 罐计划 服务类
 * </p>
 *
 * @author feipc
 * @since 2019-03-11
 */
public interface TaskServicePlanService extends IService<TaskServicePlan> {

    PageUtils planList(Map<String,Object> params, SysUserEntity user);

    void addPlan(TaskServicePlan taskServicePlan);

    void deletePlan(List<Integer> integers);

    void updatePlan(TaskServicePlan taskServicePlan);

    TaskServicePlan getPlan(Integer id);

    void commitPlan(Integer id);

    ArrangeModel getArrangeInfo(Integer id);

    void arrange(ArrangeModel arrangeModel);

    void back(TaskServicePlan plan);
}
